const Sequelize = require('sequelize');
module.exports = function (sequelize) {
  return sequelize.define(
    "verifie",  // 表名
    {
      verifyNum: {  // 认证编号
        type: Sequelize.INTEGER(11),
        allowNull: false,
        primaryKey: true
      },
      IDNum: {  // 身份证号
        type: Sequelize.STRING(18),
        allowNull: false,
      },
      identityType: {  // 分身正类型
        type: Sequelize.STRING(10),
        allowNull: true,
      },
      certificateImg: {  // 证件
        type: Sequelize.STRING(255),
        allowNull: false,
      }
    }
  )
};